// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.

namespace Stride.Core.Assets;

/// <summary>
/// Defines a custom project template for a <see cref="SolutionPlatform"/>.
/// </summary>
[DataContract("SolutionPlatformTemplate")]
public class SolutionPlatformTemplate
{
    public SolutionPlatformTemplate(string templatePath, string displayName)
    {
        TemplatePath = templatePath ?? throw new ArgumentNullException(nameof(templatePath));
        DisplayName = displayName ?? throw new ArgumentNullException(nameof(displayName));
    }

    /// <summary>
    /// The template path.
    /// </summary>
    public string TemplatePath { get; set; }

    /// <summary>
    /// The display name, which will be shown to user when choosing template.
    /// </summary>
    public string DisplayName { get; set; }
}
